//
//  UIScreen + extension.swift
//  czWB
//
//  Created by Qing on 2018/6/5.
//  Copyright © 2018年 成哥哥. All rights reserved.
//

import UIKit

extension UIScreen {
    
    
    /// 获得当前屏幕宽度
    var cz_screenWith: CGFloat {
        
       return UIScreen.main.bounds.width
    }
    
    /// 当前屏幕高度
    var cz_screenHight: CGFloat {
        
        return UIScreen.main.bounds.height
    }
    
    /// 当前屏幕分辨率
    var cz_screenScale: CGFloat {
        
        return UIScreen.main.scale
    }
    
}
